/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author tomeu
 */
public class BookingResource implements Serializable {

    private int booking;
    private int resource;
    private Date recordDate;

    public BookingResource(int booking, int resource, Date recordDate) {
        this.booking = booking;
        this.resource = resource;
        this.recordDate = recordDate;
    }

    public int getBooking() {
        return booking;
    }

    public void setBooking(int booking) {
        this.booking = booking;
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public int getResource() {
        return resource;
    }

    public void setResource(int resource) {
        this.resource = resource;
    }

    @Override
    public String toString() {
        return "BookingResource{" + "booking=" + booking + ", resource=" + resource + ", recordDate=" + recordDate + '}';
    }
}
